<template>
  <div>
    <van-tabs v-model="active" color="#ff5000" title-active-color="#ff5000" swipe-threshold="5">
      <van-tab title="全部">
        <app-search></app-search>
        <app-all></app-all>
      </van-tab>
      <van-tab title="代付款">
        <app-search></app-search>
        <van-empty
          class="custom-image"
          image="https://img.alicdn.com/tfs/TB1vJ_.vTqWBKNjSZFxXXcpLpXa-330-330.png"
          description="你还没有相关的订单"
        >
          <van-button round type="danger" class="bottom-button">随便看看</van-button>
        </van-empty>
      </van-tab>
      <van-tab title="代发货">
        <app-search></app-search>
        <van-empty
          class="custom-image"
          image="https://img.alicdn.com/tfs/TB1vJ_.vTqWBKNjSZFxXXcpLpXa-330-330.png"
          description="你还没有相关的订单"
        >
          <van-button round type="danger" class="bottom-button">随便看看</van-button>
        </van-empty>
      </van-tab>
      <van-tab title="待收货">
        <app-search></app-search>
        <van-empty
          class="custom-image"
          image="https://img.alicdn.com/tfs/TB1vJ_.vTqWBKNjSZFxXXcpLpXa-330-330.png"
          description="你还没有相关的订单"
        >
          <van-button round type="danger" class="bottom-button">随便看看</van-button>
        </van-empty>
      </van-tab>
      <van-tab title="待评价">
        <app-search></app-search>
        <van-empty
          class="custom-image"
          image="https://img.alicdn.com/tfs/TB1vJ_.vTqWBKNjSZFxXXcpLpXa-330-330.png"
          description="你还没有相关的订单"
        >
          <van-button round type="danger" class="bottom-button">随便看看</van-button>
        </van-empty>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import appSearch from "@/components/search2";
import appAll from "@/components/orderalllist";
export default {
  data() {
    return {
      active: 0,
      list: [
        { path: "1", title: "全部" },
        { path: "1", title: "全部" },
        { path: "1", title: "全部" },
        { path: "1", title: "全部" },
        { path: "1", title: "全部" }
      ]
    };
  },

  components: { appSearch, appAll },

  methods: {}
};
</script>

<style scoped lang="scss">
.custom-image .van-empty__image {
  width: 90px;
  height: 90px;
}

.van-empty__description {
  color: #333333;
  font-size: 16px;
  color: black;
  margin: 6px 0;
}
.bottom-button {
  width: 160px;
  height: 40px;
  border: 0;
  background-image: linear-gradient(-90deg, #ff5000 0%, #ff8400 100%);
}
</style>